package com.shop.shoppingmall.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (TSku)实体类
 *
 * @author makejava
 * @since 2020-09-24 10:37:41
 */
public class TSku implements Serializable {
    private static final long serialVersionUID = -65675009469191320L;

    private Integer id;
    /**
     * 规格对应的图
     */
    private String skuPhoto;
    /**
     * 商品编号
     */
    private String goodsId;
    /**
     * 属性值
     */
    private String pSkuId;
    /**
     * 规格
     */
    private String skuId;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 库存
     */
    private Integer stockNum;
    /**
     * sku销量
     */
    private Integer skuSales;
    /**
     * 创建时间
     */
    private Date creatTime;
    /**
     * 更新时间
     */
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSkuPhoto() {
        return skuPhoto;
    }

    public void setSkuPhoto(String skuPhoto) {
        this.skuPhoto = skuPhoto;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getPSkuId() {
        return pSkuId;
    }

    public void setPSkuId(String pSkuId) {
        this.pSkuId = pSkuId;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    public Integer getSkuSales() {
        return skuSales;
    }

    public void setSkuSales(Integer skuSales) {
        this.skuSales = skuSales;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}